package com.fy56.platform.logistics.restful.api.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author
 */
@Component
public class AlipayUtil {

    private @Value("${private_key}")
    String privateKey;
    private @Value("${public_key}")
    String publicKey;
    private @Value("${app_id}")
    String appId;
    private @Value("${gate_way}")
    String gateWay;
    private @Value("${ali_format}")
    String aliFormat;
    private @Value("${ali_charset}")
    String aliCharset;
    private @Value("${sign_type}")
    String signType;
    private @Value("${yb_pay_url}")
    String ybPayUrl;
    private @Value("${ty_pay_url}")
    String tyPayUrl;


    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getGateWay() {
        return gateWay;
    }

    public void setGateWay(String gateWay) {
        this.gateWay = gateWay;
    }

    public String getAliFormat() {
        return aliFormat;
    }

    public void setAliFormat(String aliFormat) {
        this.aliFormat = aliFormat;
    }

    public String getAliCharset() {
        return aliCharset;
    }

    public void setAliCharset(String aliCharset) {
        this.aliCharset = aliCharset;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getYbPayUrl() {
        return ybPayUrl;
    }

    public void setYbPayUrl(String ybPayUrl) {
        this.ybPayUrl = ybPayUrl;
    }

    public String getTyPayUrl() {
        return tyPayUrl;
    }

    public void setTyPayUrl(String tyPayUrl) {
        this.tyPayUrl = tyPayUrl;
    }

}
